package com.zzz.robot201.app.config;


public interface AppContent {


    /**
     * 需要以键值对持久化到SharePerference文件中的Key常量值
     */
    public static class SaveInfoKey {
        public static final String TOKEN = "token";
        public static final String REQID = "reqId";
        public static final String ISLOGIN = "islogin";
        public static final String DEVICECODE = "deviceCode";
        public static final String DEVICEIP = "deviceIp";
        public static final String DEVICEPORT = "devicePort";
        public static final String ISPHONE = "isphone";

    }

    interface User {
        String INFO = "userInfo";
    }

    /**
     * Bundle中需要作为Key传递的常量EXTRA开头
     */
    public static class BundleKey {
        /**
         * 进入AccountActivity界面必须要传入的参数
         */
        public static final String ID = "id";
        public static final String WEB_URL = "web_url";



    }

    public static class GlobalValue {

        public static final String INIT = "init";
        public static final String URL_IMAGE = AppConfig.BASE_URL+"/file";


    }

    /**
     * 存放参与API请求的常量
     */
    public static class ApiParams {

        //请求头参数key
        public static final String REQUEST_HEADER_AUTHORIZATION = "token";

    }

    public static class WebPageUrl {
        public static final String WEB_BAIDU = "https://www.baidu.com/";
        public static final String WEB_ORENDA = "https://www.orenda.com.cn/";
        public static final String WEB_ABOUT = "https://www.orenda.com.cn/about/jtjj.jhtml/";

    }
}
